<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo ($System_namex); ?></title>
<link href="__PUBLIC__/Css/body.css" rel="stylesheet" media="screen" type="text/css" />
<link href="__PUBLIC__/Css/menu.css" rel="stylesheet" media="screen" type="text/css" />
<link href="__PUBLIC__/Css/main.css" rel="stylesheet" media="all" type="text/css" />
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/Base.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/prototype.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/mootools.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/Ajax/ThinkAjax.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/Form/CheckForm.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/common.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/Util/ImageLoader.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/myfocus-1.0.4.min.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/all.js\"></sc"+"ript>")</script>
<script language="JavaScript">
ifcheck = true;
function CheckAll(form)
{
	for (var i=0;i<form.elements.length-2;i++)
	{
		var e = form.elements[i];
		e.checked = ifcheck;
	}
	ifcheck = ifcheck == true ? false : true;
}
</script>
<script>
//function checkLeave(){
//	window.parent.stateChangeIE();
//}
</script>
</head>
<body>

<script language=javascript src="__PUBLIC__/Js/wpCalendar.js"></script>
<div class="ncenter_box">
<div class="accounttitle"><h1>报单申请 </h1></div>
<form name="form3" method="post" action="__URL__/admindan">
<table width="100%" class="tab3" border="0" cellpadding="3" cellspacing="1" id="tb1" bgcolor="#b9c8d0">
	<thead>
    <tr align="center">
      
        <th><span>会员编号</span></th>
		<th><span>直推人数</span></th>
        <th><span>团队人数</span></th>
        <th><span>提供金额</span></th>
        <th><span>申请时间</span></th>
        <th><span>状态</span></th>
        <th><span>操作</span></th>
        </tr>
    </thead>
    <?php if(is_array($dan)): $i = 0; $__LIST__ = $dan;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr class="content_td lz" align="center">
       
		 <td><?php echo ($vo['user_id']); ?></td>
        <td><?php echo ($vo['zhitui']); ?></td>
        <td><?php echo ($voo['tuandui']); ?></td>
        <td><?php echo ($vo['jine']); ?></td>
           <td><?php echo (date('Y-m-d H:i:s',$vo["shij"])); ?></td>
        <td><?php if(($vo['zhuantai']) == "1"): ?><span style="color:BLUE;">已开通</span><?php else: ?>未开通<?php endif; ?></td>
     
      
  
     
        <td><?php if(($vo['zhuantai']) == "1"): ?><span style="color: #FF0000;">已同意 </span><?php else: ?><a  href="__URL__/tongyi/id/<?php echo ($vo['user_id']); ?>">同意 </a> /<span><a href="__URL__/butongyi/id/<?php echo ($vo['user_id']); ?>">拒绝</a></span><?php endif; ?></td>
        </tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>



<table width="100%" class="tab3_bottom" border="0" cellpadding="0" cellspacing="1">
    <tr>
        <td><?php echo ($page); ?></td>
    </tr>
</table>
</form>

</div>
</body>
</html>
<script>new TableSorter("tb1");</script>